package com.fduss.artStore.dao;

import com.fduss.artStore.entity.TypesFrame;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 19:57
 */
public interface TypesFrameDao {
    /**
     *
     * @param typesFrame
     * @return a typesFrame with typesFrame id
     */
    TypesFrame add(TypesFrame typesFrame);

    void delete(int typesFrameId);

    TypesFrame getOne(int typesFrameId);

    List<TypesFrame> getAll();
}
